﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace EBA.Globalization
{
    /// <summary>
    /// 金钱
    /// </summary>
    public abstract class Money
    {
        /// <summary>
        /// 内部金钱变量
        /// </summary>
        protected decimal MoneyData
        {
            get;
            set;
        }

        /// <summary>
        /// 符号
        /// </summary>
        public string Sign
        {
            get;
            set;
        }

        /// <summary>
        /// 转换成字符串
        /// </summary>
        /// <returns></returns>
        public abstract override string ToString();

        /// <summary>
        /// 转换成带金钱符号字符串
        /// </summary>
        /// <returns></returns>
        public abstract string ToStringBySign();

    }
}
